package com.mycat.chat.two.msg.base;

/**
 * 消息类型枚举
 *
 * @author roger.
 * @email 190642964@qq.com
 * @create 2017-02-24
 */
public enum  MessageType {
    LOGIN_MSG("LOGIN_MSG","用户登陆消息"),
    EXIT_MSG("EXIT_MSG","用户退出"),
    REGISTER_MSG("REGISTER_MSG","用户注册"),
    GENERAL_MSG("GENERAL_MSG","普通消息"),
    SHAKE_MSG("SHAKE_MSG","抖动消息"),
    ;


    MessageType(String type,String desc){
        this.type = type;
        this.desc =desc;
    }
    private String type;
    private String desc;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
